<div class="form-inline">
	<label class="control-label col-sm-2"><span class="text-red">*</span>日期策略</label>
	<div  class="form-group">
		<label class="radio-inline" ng-repeat="(key,value) in couponTimeSel" >
			<input type="radio" name="dateRangeCategory" ng-model="coupon.dateRangeCategory"  ng-value="key" ng-click="test(key)" />
			<span ng-bind="value"></span>
		</label>
	</div>
</div>

<div class="form-inline">
	<div class="animate-switch-container" ng-switch on="coupon.dateRangeCategory">
		<div class="animate-switch" ng-switch-when="CONTINUOUS">
			<label class="control-label col-sm-2">开始日期</label>
			<div class="form-group">
				<input class="form-control" type="date" min="{{today}}" ng-model="coupon.dateRange.startDate"/>
				<span class="form-control-static">,&nbsp;&nbsp;结束日期</span>
				<input type="date" class="form-control" min="{{today}}" ng-model="coupon.dateRange.endDate"/>
			</div>
		</div>

		<div class="animate-switch" ng-switch-when="AUTOMATIC_DAY_DELAY">
			<label class="control-label col-sm-2">自领取之日起</label>
			<div class="form-group">
				<input type="number" min="0" class="form-control" ng-model="coupon.dateRange.delayedDays"/>
				<span class="form-control-static">天后生效,有效期为</span>
				<input type="number" min="1" class="form-control" ng-model="coupon.dateRange.effectDays"/>
				<span class="form-control-static">天。</span>
			</div>
		</div>

		<div class="animate-switch" ng-switch-when="AUTOMATIC_MONTH_DELAY">
			<label class="sr-only control-label col-sm-2"></label>
			<div class="form-group">
				<span class="form-control-static">自领取之日起，到领取月份的月底有效。</span>
			</div>
		</div>

	</div>
</div>
